import App from './App'

// #ifndef VUE3
import Vue from 'vue'
import store from './store'
import Config from './config/config'
import Common from './config/common'


Vue.prototype.$Config = Config
Vue.prototype.$Common = Common

Vue.config.productionTip = false
Vue.prototype.$store = store
App.mpType = 'app'

import uView from '@/uni_modules/uview-ui'
Vue.use(uView)
import vuexStore from "./store/$u.mixin.js"
Vue.mixin(vuexStore)


//https://daneden.github.io/animate.css/



const app = new Vue({
	store,
	...App
})
// 引入请求封装，将app参数传递到配置中
require('./config/request.js')(app)
app.$mount()
// #endif

// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
export function createApp() {
	const app = createSSRApp(App)
	return {
		app
	}
}
// #endif
